//
//  WenBaDetailHeader.h
//  suRead
//
//  Created by nancy  on 16/9/18.
//  Copyright © 2016年 bao. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "M_WenbaDetail.h"
@protocol WenBaDetailHeaderDelegate <NSObject>

- (void)toWenBaCtgListPage:(NSString *) ctgUrl;

@end

@interface WenBaDetailHeader : UITableViewCell

@property (weak,nonatomic)id<WenBaDetailHeaderDelegate> wenBaDetailHeaderDelegate;

@property (nonatomic,strong) id wenbaDetailData;

///展开多个活动信息
@property(nonatomic, copy) void (^showMoreTextBlock)(UITableViewCell  *currentCell);

/**
 *  计算cell的高度
 *
 *  @return 高度
 */
+ (CGFloat)heightWithContent:(M_WenbaDetail *)wenbaDetailData_;

@end